package com.tedu.bill;

/**
 * Author������
 * Date: 2024/3/12 19:39
 */
public class TestVariable2 {
    public static void main(String[] args) {
        //声明一个变量并赋值
        int a = 100;
        System.out.println(a);
        //声明一个变量并赋值
        int money = 200;
        System.out.println(money);
        //声明一个变量并赋值
        int age = 18;
        System.out.println(age);
        //重新给变量age赋值
        age = a ;
        System.out.println(age);
    }
}
